package com.wanmait.teatrain.controller;

import com.wanmait.teatrain.entity.AdminPaper;
import com.wanmait.teatrain.service.AdminPaperService;
import com.wanmait.teatrain.service.PaperSetService;
import com.wanmait.teatrain.utils.AjaxResult;
import com.wanmait.teatrain.dto.AdminPaperDTO;
import com.wanmait.teatrain.service.AdminPaperService;
import com.wanmait.teatrain.service.PaperQuestionService;
import com.wanmait.teatrain.utils.AjaxResult;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;
import java.awt.print.Paper;

import javax.annotation.Resource;

/**
 * <p>
 * 用户考试-试卷表 前端控制器
 * </p>
 *
 * @author wanmait
 * @since 2025-10-22
 */
@RestController
@RequestMapping("/adminPaper")
public class AdminPaperController {
    @Resource
    private AdminPaperService adminPaperService;
    @Resource
    private PaperQuestionService paperQuestionService;


    //组卷功能测试 --徐钰淞
    @RequestMapping("getPaper")
        public AjaxResult getPaper(Integer courseId, Integer adminId, Boolean isSimulate) {
        adminPaperService.getPaper(courseId,adminId,isSimulate);
        return null;
    }

}
